Determining Currents Using Loop Analysis